package com.wangchao.administrator.zenmechi.ui.fragment.shopfragment;

import android.content.Context;

import com.wangchao.administrator.zenmechi.bean.categorybean.CategoryBean;
import com.wangchao.administrator.zenmechi.bean.shopcategorybean.ShopCategoryBean;

import java.util.Map;

import rx.Subscriber;

/**
 * Created by Administrator on 2016/10/19.
 */
public class ShopFragmentContract {

    public interface View{
        public void showLayout();
        public void hideLayout();
        public void initExpandListView(MyAdapterForShopExpand adapter);
        public void showList(MyAdapterForShowList adapter);
    }

    public interface Model{
        public void getCategoryData(Map<String,String> map,
                                    Subscriber<ShopCategoryBean> subscriber);
        public void getCateList(Map<String,String> map,
                                Subscriber<CategoryBean> subscriber);
    }

    public interface Presenter{
        public void getCategoryData(Context context);
        public void getCateList(Context context,String id);
    }

}
